<template>
    <div class="layout">
        <el-container>
            <el-aside width="200px">
                <left-nav></left-nav>
            </el-aside>
            <el-container>
                <el-header>
                    <top-header></top-header>
                </el-header>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import LeftNav from '@/views/index/LeftNav'
import TopHeader from '@/views/index/TopHeader'
export default {
    components: {
        LeftNav,
        TopHeader
    },

}
</script>

<style lang="less" scoped>
.layout {
    
    height: 100vh;
    .el-header,
    .el-footer {
        background-color: #B3C0D1;
        color: #333;
        text-align: center;
        line-height: 60px;
    }
    .el-header{
    background-color: #fff;
}
    .el-header {
        .el-breadcrumb {
            height: 100%;

            span {
                height: 100%;
                display: flex;
                align-items: center;
                height: 100%;

                a {
                    display: flex;
                    align-items: center;
                    height: 100%;
                }
            }
        }
    }

    .el-aside {
        background-color:#545c64;
        color: #333;
        line-height: 200px;

        li {
  
            height: 120px;
            line-height: 120px;
        }
    }

    .el-main {
        background-color: #E9EEF3;
        color: #333;


    }

    .el-container {
        margin-bottom: 40px;
        height: 100%;
    }
    .el-breadcrumb__item:last-child .el-breadcrumb__inner{
color: #000;
font-weight: bold;
}

}
</style>